home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 25
/
Cream of the Crop 25.iso
/
bbs
/
dgwrl201.zip
/
DOG201.RES
/
DOGIGM4.ZIP
/
README.1ST
< prev
Wrap
Text File
|
1996-11-14
|
2KB
|
50 lines
Writing an IGM for DogWorld is pretty straight-forward. Basically,
you get the info you need out of INFO.x about the player. Then, every
time you need to change a player value, you simply write a new
'note' record to the users note.x file. You can have the note either
say something to the user and NOT alter a player value, or have it say
something and DO alter a player value, or not display anything to
the user and only alter a player value (invisible note).
Here's the basic flow:
1. 3RDPARTY.MNU - DogWorld will replace an asterisk(*) in your IGM
command-line with the current node number. Your IGM
title can contain any of the color codes listed in
the MAILCODE.DOC file. Your title should be 78
characters or less including color codes and no longer
than 32 characters when displayed on the screen.
(DogWorld does a 2 coloum display - titles longer than
32 characters will be truncated to 32 characters.
DogWorld supports up to 999 IGM's with 32 displayed on
each screen.
2. DOGx.CFG - If you are using OpenDoors, you can use the DOGx.CFG
file for your IGM's cfg file. See CFGFILE.DOC.
3. INFO.x - Use the node number to determine which INFO.x file
to read. (for user record number, etc.) See INFOFILE.DOC.
4. NOTE.x - Use the user record number to determine what note file
to write to. Every time you make a change to a user's
value, just append another note record to this file.
**NOTE!!** In most cases, you will want to use the invisible note format.
To the player, it will look like your IGM is accessing
DogWorld's player.dat file directly, when in fact, the updates
occur when the player exits your IGM. When the player exits,
DogWorld immediately proccesses all pending note records. This
usually only takes the blink of an eye.
See the file DGWRLDIGM.DOC for a few snippets of code and an
example 'C' function to append a note record.
If you have any problems or questions, feel free to contact me at:
Cothran Computing:
Fidonet:1:116/165 * BBS:(615)388-7766 * kcothran@edge.net
WWW: http//edge.edge.net/~kcothran/
-Ken Cothran
Author of DogWorld!